package com.lrkj.smartservice.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 轮播列分类对象 tm_slide_data
 * 
 * @author yajun_ren
 * @date 2021-04-02
 */
public class SlideData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String slideDataId;

    /** 分类ID */
    @Excel(name = "分类ID")
    private String slideTypeId;

    /** 附件ID */
    @Excel(name = "附件ID")
    private String fileId;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String filePath;

    /** 轮播名称 */
    @Excel(name = "轮播名称")
    private String slideDataName;

    /** 数据状态（0正常 1停用） */
    @Excel(name = "数据状态", readConverterExp = "0=正常,1=停用")
    private String statusCd;

    /** 打开方式 */
    @Excel(name = "打开方式")
    private String openType;

    /** 链接 */
    @Excel(name = "链接")
    private String linkPath;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    /** 创建者编码 */
    @Excel(name = "创建者编码")
    private String createByCode;

    /** 更新者编码 */
    @Excel(name = "更新者编码")
    private String updateByCode;

    public void setSlideDataId(String slideDataId) 
    {
        this.slideDataId = slideDataId;
    }

    public String getSlideDataId() 
    {
        return slideDataId;
    }
    public void setSlideTypeId(String slideTypeId) 
    {
        this.slideTypeId = slideTypeId;
    }

    public String getSlideTypeId() 
    {
        return slideTypeId;
    }
    public void setFileId(String fileId) 
    {
        this.fileId = fileId;
    }

    public String getFileId() 
    {
        return fileId;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setSlideDataName(String slideDataName) 
    {
        this.slideDataName = slideDataName;
    }

    public String getSlideDataName() 
    {
        return slideDataName;
    }
    public void setStatusCd(String statusCd) 
    {
        this.statusCd = statusCd;
    }

    public String getStatusCd() 
    {
        return statusCd;
    }
    public void setOpenType(String openType) 
    {
        this.openType = openType;
    }

    public String getOpenType() 
    {
        return openType;
    }
    public void setLinkPath(String linkPath) 
    {
        this.linkPath = linkPath;
    }

    public String getLinkPath() 
    {
        return linkPath;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }
    public void setCreateByCode(String createByCode) 
    {
        this.createByCode = createByCode;
    }

    public String getCreateByCode() 
    {
        return createByCode;
    }
    public void setUpdateByCode(String updateByCode) 
    {
        this.updateByCode = updateByCode;
    }

    public String getUpdateByCode() 
    {
        return updateByCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("slideDataId", getSlideDataId())
            .append("slideTypeId", getSlideTypeId())
            .append("fileId", getFileId())
            .append("filePath", getFilePath())
            .append("slideDataName", getSlideDataName())
            .append("statusCd", getStatusCd())
            .append("openType", getOpenType())
            .append("linkPath", getLinkPath())
            .append("orderNum", getOrderNum())
            .append("createBy", getCreateBy())
            .append("createByCode", getCreateByCode())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateByCode", getUpdateByCode())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
